package com.ck.demo;

public class ObjectDemo {

    public static void main(String[] args) {
        ObjectA objectA1 = new ObjectA();
        ObjectA objectA2 = new ObjectA();

        System.out.println(objectA1.getClass());
        System.out.println(objectA2.getClass());
        System.out.println(objectA1 == objectA2);
        System.out.println(objectA1.equals(objectA2));

        System.out.println(objectA1.hashCode());
        System.out.println(objectA2.hashCode());

        System.out.println(objectA1);
        System.out.println(objectA1.toString());

        //ObjectA objectA3 = (ObjectA) objectA1.clone();
    }
}


class ObjectA{}
